<?php
namespace EventDispatcher\Listeners;

use Symfony\Component\EventDispatcher\Event;

class DemoListener
{
	public function onDemoEvent(Event $event)
	{
		echo "DemoListener is called!\n";
    echo "The value of the foo is: ".$event->getFoo()."\n";
	}
}
